//
//  HXFoodMakeCell.m
//  ZCooking
//
//  Created by 韩旭 on 16/9/7.
//  Copyright © 2016年 HX_. All rights reserved.
//

#import "HXFoodMakeCell.h"
#import "HXFoodSmallModel.h"
#import "HX_Macro.h"
@implementation HXFoodMakeCell
- (void)setSmallModel:(HXFoodSmallModel *)smallModel {
    _smallModel = smallModel;
    [self.stuffImage sd_setImageWithURL:[NSURL URLWithString:smallModel.image]];
    self.stuffImage.userInteractionEnabled = YES;
    [self.imgBtn setImage:[UIImage imageNamed:@""] forState:UIControlStateNormal];
    [self.imgBtn setImage:[UIImage imageNamed:@"materialSelected"] forState:UIControlStateSelected];
    self.labelName.text = smallModel.text;

}

- (void)awakeFromNib {

}
- (NSMutableArray *)arrID {
    if (!_arrID) {
        _arrID = [NSMutableArray array];
    }
    return _arrID;
}
-(void)config:(NSInteger)index andData:(NSMutableArray*)flagArr;
{
//    self.seleImageView.tag = 8888 + index;
//    if ([flagArr[index] intValue]) {
//        self.seleImageView.image = [UIImage imageNamed:@""];
//    } else {
//        self.seleImageView.image=[UIImage imageNamed:@"materialSelected"];
//    }
}
@end
